home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 7.33 (October) / PC Gamer Disc 7.33 (October 2003).ISO / Data / items.pcg / scripts / DefineButton2_135 / BUTTONCONDACTION on(press, dragOver).as next >
Text File  |  2003-07-17  |  189b  |  8 lines

  1. on(press, dragOver){
  2.    if(_parent.scrollMax < _parent.num_Demos)
  3.    {
  4.       startDrag("",0,this._x,224,this._x,384);
  5.       _parent.scrollBoxControl.gotoAndPlay("startDemo");
  6.    }
  7. }
  8.